//
//  DLAlipayPayOrAuthConfig.m
//  DLSharePaySDK
//
//  Created by Dracy on 2019/8/20.
//  Copyright © 2019 dgg_hzk. All rights reserved.
//

#import "DLAlipayPayOrAuthConfig.h"
#import <AlipaySDK/AlipaySDK.h>

@implementation DLAlipayPayOrAuthConfig

+ (id)configPlatform:(DLAlipayPayOrAuthCustomPlatformType)platform
               appId:(NSString *)appId
           appSecret:(NSString *)appSecret
       universalLink:(NSString *)universalLink
                 pid:(NSString *)pid
         redirectUri:(NSString *)uriStr{
    if (platform == DLAlipayPayOrAuthCustomPlatformTypeAlipayPay){
       return [[APayAuthInfo alloc] initWithAppID:appId pid:pid redirectUri:uriStr];
    }
    return nil;
}

@end
